import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'

const app = createApp(App)

app.use(router)
// id="app" 在index.html
app.mount('#app')

// 注册全局组件               
import HelloComponent from './components/HelloCompenent.vue'
// component中前面的值表示名字，后面表示组件
app.component('HelloComponent', HelloComponent)

app.use(ArcoVue)
